package com.hopu.iocdemo1;

import org.springframework.stereotype.Component;

@Component
public class KingstonMemory implements IMemory {
    @Override
    public void read() {
        System.out.println("使用金斯顿内存读取数据");
    }

    @Override
    public void write() {
        System.out.println("使用金斯顿内存写入数据");
    }
}
